#include <jni.h>
#include <string>
#include "x264.h"

extern "C" JNIEXPORT jstring JNICALL
Java_com_example_myx264test_MainActivity_stringFromJNI(
        JNIEnv* env,
        jobject /* this */) {
    std::string hello = "Hello from C++";
    x264_nal_t *pp_nals = NULL;
    x264_picture_t *pic_in = NULL;
    return env->NewStringUTF(hello.c_str());
}